package com.qys.livesMall.app.user.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.Instant;
import java.time.LocalDateTime;
import java.time.ZoneId;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 主播奖励配置
 * </p>
 *
 * @author 
 * @since 2023-10-31
 */
@Getter
@Setter
@TableName("h2_app_user_reward_config")
@Schema(name = "UserRewardConfig", description = "用户奖励配置")
public class UserRewardConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "配置id")
    @TableId(value = "con_id", type = IdType.AUTO)
    private Long conId;

    @Schema(description = "类型（1首充提现需要完成线下理财数量，2新用户注册奖励，3充值返现，4 首充返现，5个人提现手续费，6同IP注册数量限制，7IP白名单，8升级奖励 9送出奖励 10 有效用户金额）")
    private Integer awardType;

    @Schema(description = "条件")
    private String awardCondition;

    @Schema(description = "金额、百分百")
    private BigDecimal awardUnit;

    @Schema(description = "状态 开关（是：1否：0）")
    private String awardAmount;

    @Schema(description = "修改人")
    private String updateBy;
/*
    @Schema(description = "修改时间")
    private LocalDateTime updateTime;*/

    @Schema(description = "排序")
    private Integer sort;
}
